home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
CONAN08.422
< prev
next >
Wrap
Text File
|
1993-03-25
|
3KB
|
56 lines
1C7ONAN18 5- Add 10 minutes extra time using //ADDTIME
Conan #1 @7304
Monday, March 15, 1993 8:55 am
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name : CONAN08 Mod Author: Conan 1@473 ComLink │
│ Difficulty : ██▒▒▒▒▒▒▒▒ 1@7304 IceNet │
│ WWIV Version : 4.22 1@7307 WWIVnet │
│ Mod Date : 03/15/93 1@17325 WWIVLink │
│ Files Affected: BBS.C │
│ Description : Add 10 Minutes System Time │
└────────────────────────────────────────────────────────────────────────────┘
This mod originally was written for WWIV v4.10 by Goose (1@17310 WWIVLink).
But since it was such a good idea, I just fixed a little so it works for
4.22 just fine! (And I'm sure 4.2xx)
STEP UNO
~~~~~~~~
Backup your source! I take no responsiblity if your cat starts vomiting
purple fig newtons or your computer melts into a jello-like ooze. So
backup your source!!! (i.e. PKZIP SOURCE *.C *.H *.MAK)
STEP TWO
~~~~~~~~
Open up BBS.C and right before the CHAINEDIT part add this in.
if (strcmp(s,"ADDTIME")==0) { /* ADD CONAN08 */
sysoplog("!!@!! Added 10 Minutes System Time"); /* ADD CONAN08 */
thisuser.extratime+=10.0*60.0; /* ADD CONAN08 */
nl(); /* ADD CONAN08 */
pl("10 Minutes Added"); /* ADD CONAN08 */
tleft(0); /* ADD CONAN08 */
} /* ADD CONAN08 */
if (strcmp(s,"CHAINEDIT")==0) { /* ALREADY THERE */
STEP THREE
~~~~~~~~~~
Save and close BBS.C and you're finished! Just kick back & compile!
Note that only sysops will be able to do this function. But if you want
users to do it just add those same lines as above right before the NET
part in BBS.C
That's it! Credit goes to Goose for thinking this mod up...I just have a
tendency for getting these old mods and making them work for 4.22
If you have any questions you can call my board Perfect World 703-255-6606
or you can e-mail me on any of these networks.
1C7ona1N
1@7304 IceNet
1@7307 WWIVnet
1@17325 WWIVLink
2 7Perfect World 3* 5WWIV v4.22 3* 27o3 255 6606 3* 11200-9600bps
3 1IceNet @7304 3* 2WWIVLink @17325 3* 5WWIVnet @7307 3* 7ComLink @473
4